package top.javahai.subtlechat.api;

/**
 * 常量定义
 * @author Qiangfanghao
 */
public class GlobalConst {

    /** 可见 */
    public static final Integer VISIBLE = 1;
    /** 不可见 */
    public static final Integer INVISIBLE = -1;
    /** 可用 */
    public static final Integer ENABLED = 1;
    /** 禁用 */
    public static final Integer DISABLED = -1;
    /** 锁定 */
    public static final Integer LOCKED = 0;
    /** 可写|可改 */
    public static final Integer WRITABLE = 1;
    /** 只读|不可改 */
    public static final Integer READONLY = -1;

    /** 用户在线*/
    public static final int USER_STATUS_ON_LINE_CODE = 1;
    public static final String USER_STATUS_ON_LINE_EXPLAIN = "在线";

    /** 用户离线*/
    public static final int USER_STATUS_OFF_LINE_CODE = 2;
    public static final String USER_STATUS_OFF_LINE_EXPLAIN = "离线";

    /** 用户注销*/
    public static final int USER_STATUS_LOGOFF_CODE = 3;
    public static final String USER_STATUS_LOGOFF_EXPLAIN = "注销";

}
